/**
 * 
 */
$(document).ready(function(){
	
	$('#enter_button').click(function(event){
		event.preventDefault();
		t = jQuery(event.target);
		pos = t.position();
		obj = jQuery(this).next();
		s = obj.width() - (jQuery(window).width() - pos.left);
		obj.css({
			left: pos.left-s,
			top: pos.top+t.outerHeight(true)
		})
		obj.toggle();
	});
});

